package com.arvin.faceDetect.callback

import android.graphics.Bitmap
import com.google.mlkit.vision.face.Face

interface FaceDetectionCallback {
    fun onFaceDetected(faces: List<Face>)
    fun onFaceDetectionError(error: Exception)
}

interface PreviewCallback {
    fun onPreviewFrame(bitmap: Bitmap, faces: List<Face>)
    fun onPreviewError(error: Exception)
} 